package cn.stylefeng.guns.modular.hx.storage.mapper;

import cn.stylefeng.guns.modular.hx.storage.entity.HxXhTransport;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStorageOutParam;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxXhTransportParam;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxStorageOutResult;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxXhTransportResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 货物搬运 Mapper 接口
 * </p>
 *
 * @author ZDW
 * @since 2024-07-25
 */
public interface HxXhTransportMapper extends BaseMapper<HxXhTransport> {

    /**
     * 获取列表
     *
     * @author ZDW
     * @Date 2024-07-25
     */
    List<HxXhTransportResult> customList(@Param("paramCondition") HxXhTransportParam paramCondition);

    /**
     * 获取map列表
     *
     * @author ZDW
     * @Date 2024-07-25
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") HxXhTransportParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author ZDW
     * @Date 2024-07-25
     */
    Page<HxXhTransportResult> customPageList(@Param("page") Page page, @Param("paramCondition") HxXhTransportParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author ZDW
     * @Date 2024-07-25
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") HxXhTransportParam paramCondition);

    HxXhTransportResult findcheckBySpec(@Param("paramCondition")HxXhTransportParam hxXhTransportParam1);

    List<HxXhTransportResult> findReceivingBySpecOwn(HxXhTransportParam hxXhTransportParam);

    HxXhTransportResult findCountGoodsBySpec(@Param("paramCondition")HxXhTransportParam hxXhTransportParam);
}
